<ul class="nav nav-tabs" style="margin-bottom: 20px;">
	{volist name="groups" id="group"}
        <li <?php reset($groups); if ( key($groups)==$key ) { ?>class="active"<?php } ?>>
        	<a data-toggle="tab" href="#tab-{$key}"><i class="fa {$group.icon??'fa-cog'}"></i> {$group.title??$key}</a>
        </li>
    {/volist}
</ul>
<div class="tab-content">
	{volist name="groups" id="group"}
        <div id="tab-{$key}" class="tab-pane <?php reset($groups); if ( key($groups)==$key ) { ?>active<?php } ?>">
        	{volist name="keyList" id="field"}
               
               <?php if (
                        in_array($field['name'], $group['items']) || (
                            is_array($field['name']) &&
                            in_array(implode('|', $field['name']), $group['items'])
                        )
                    ) {
                ?>
                    {include file="my/_inline"}
                <?php } ?>
            {/volist}
        </div>
    {/volist}
</div>



                 

           